build: remove unnecessary policy check (#262)
authordundargoc <33953936+dundargoc@users.noreply.github.com>
Mon, 8 Apr 2024 17:46:39 +0000 (19:46 +0200)
committerGitHub <noreply@github.com>
Mon, 8 Apr 2024 17:46:39 +0000 (13:46 -0400)
Minimum version is 3.5 and policy CMP0048 was introduced in 3.0, meaning
that it will always be set to `NEW`.

CMakeLists.txt

index 67bd9fa70a5bd8329fcda683000eabbe62d8e686..0d66523f61d4a716ea40b5b7ed331865059b6511 100644 (file)
@@ -4,9 +4,6 @@ include (utils.cmake)
 
 disallow_intree_builds()
 
-if (POLICY CMP0048)
-  cmake_policy (SET CMP0048 NEW)
-endif ()
 project (utf8proc VERSION 2.9.0 LANGUAGES C)
 
 # This is the ABI version number, which may differ from the